# Template build file for 'libidn'.
pkgname=libidn
version=1.27
revision=1
build_style=gnu-configure
configure_args="--disable-csharp --disable-java --disable-static --enable-threads=posix"
hostmakedepends="perl pkg-config"
short_desc="Internationalized string handling library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/libidn/"
license="GPL-3, LGPL-2.1"
distfiles="http://ftp.gnu.org/gnu/libidn/libidn-${version}.tar.gz"
checksum=103ff719d36484ebfb57272e8155312da105caa5d3f42d51d45e1930356e95fd

libidn-devel_package() {
	depends="libidn>=${version}"
	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
	}
}

libidn_package() {
	pkg_install() {
		vmove usr
	}
}
