# Template file for 'flow'
pkgname=flow
version=0.44.1
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="3-clause-BSD"
homepage="http://flowtype.org/"
_changelog="https://github.com/facebook/flow/releases"
distfiles="https://github.com/facebook/${pkgname}/archive/v${version}.tar.gz"
checksum=2dbe1c863ea8c594dfde8e2924b32033336f31f039d61ab07e276467195c2028
nopie=yes

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