# Template file for 'libspatialindex'
pkgname=libspatialindex
version=1.8.5
revision=1
build_style=cmake
short_desc="An 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=93cce77269612f45287b521d5afdfb245be2b93b8b6438d92f8b9e0bdb37059d

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"
	}
}
