# Template file for 'libspatialindex'
pkgname=libspatialindex
version=1.9.3
revision=1
build_style=cmake
short_desc="Framework that supports robust spatial indexing methods and queries"
maintainer="Giuseppe Fierro <gspe@ae-design.ws>"
license="MIT"
homepage="http://libspatialindex.github.io/"
distfiles="https://github.com/libspatialindex/libspatialindex/archive/${version}.tar.gz"
checksum=7b44340a3edc55c11abfc453bb60f148b29f569cef9e1148583e76132e9c7379

post_install() {
	vlicense COPYING
}

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