# Template file for 'libmicrodns'
pkgname=libmicrodns
version=0.2.0
revision=1
build_style=meson
hostmakedepends="pkg-config"
short_desc="Minimal mDNS resolver library"
maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
license="LGPL-2.1-only"
homepage="https://github.com/videolabs/libmicrodns"
distfiles="https://github.com/videolabs/libmicrodns/archive/${version}.tar.gz"
checksum=9864a088ffef4d4255d5abf63c6f603d1dc343dfec2809ff0c3f1624045b80fa

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