# Template file for 'flow'
pkgname=flow
version=0.40.0
revision=1
only_for_archs="x86_64"
build_style=gnu-makefile
makedepends="ocaml ocamlbuild 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=f09b9191734f7245f906884be57266d24993a5533a68b3ad8ec9992c77ea1230
nopie=yes

do_install() {
	vbin bin/flow
	vlicense LICENSE
	vlicense PATENTS
}
