# Template file for 'flow'
pkgname=flow
version=0.1.4
revision=1
build_style=gnu-makefile
makedepends="ocaml elfutils-devel"
short_desc="Static type checker for JavaScript"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="BSD"
homepage="http://flowtype.org/"
distfiles="https://github.com/facebook/${pkgname}/archive/v${version}.tar.gz"
checksum=77131c44b8fbb0b87aa052ff0b62064a311a51ca3cd7df3cbaf813c8c585784b

do_install() {
	install -Dm755 bin/flow ${DESTDIR}/usr/bin/flow
}

post_install() {
	vlicense LICENSE
	vlicense PATENTS
}
