# Template file for 'libasr'
pkgname=libasr
version=1.0.2
revision=1
build_style=gnu-configure
makedepends="libressl-devel"
short_desc="Simple and portable asynchronous resolver library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="ISC, BSD"
homepage="https://www.opensmtpd.org/"
distfiles="https://www.opensmtpd.org/archives/${pkgname}-${version}.tar.gz"
checksum=a6f5d1c6306938156da3427525572b9b16c1e6be6c69845d390bb63f41a58b34

post_install() {
	vlicense LICENCE
}

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