# Template file for 'libidn'
pkgname=libidn
version=1.43
revision=1
build_style=gnu-configure
configure_args="--disable-csharp --disable-java --disable-static"
short_desc="Internationalized string handling library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later, LGPL-2.1-or-later"
homepage="https://www.gnu.org/software/libidn/"
distfiles="${GNU_SITE}/libidn/libidn-${version}.tar.gz"
checksum=bdc662c12d041b2539d0e638f3a6e741130cdb33a644ef3496963a443482d164

libidn-devel_package() {
	depends="libidn>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/man/man3
		vmove usr/share/emacs
		vmove usr/share/info
		vmove "usr/lib/*.so"
	}
}
