# Template file for 'fann'
pkgname=fann
version=2.2.0
revision=2
build_style=cmake
short_desc="A free open source neural network library"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="LGPL-2.1-or-later"
homepage="http://leenissen.dk/fann/"
distfiles="https://github.com/libfann/fann/archive/${version}.tar.gz"
checksum=f31c92c1589996f97d855939b37293478ac03d24b4e1c08ff21e0bd093449c3c

fann-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/*.so
		vmove usr/lib/pkgconfig
	}
}
