# Template build file for 'libidn'.
pkgname=libidn
version=1.26
revision=2
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=0a2f4c71c80f8f389a99d5a26539a9be4a4ac42cd7f375aa41046660f63cc53c

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