# Template file for 'libmaxminddb'
pkgname=libmaxminddb
version=1.9.1
revision=1
build_style=gnu-configure
checkdepends="perl"
short_desc="C library for the MaxMind DB file format"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://maxmind.github.io/libmaxminddb/"
distfiles="https://github.com/maxmind/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.gz"
checksum=a80682a89d915fdf60b35d316232fb04ebf36fff27fda9bd39fe8a38d3cd3f12

libmaxminddb-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/share/man/man3
	}
}
