# Template build file for 'libidn'.
pkgname=libidn
version=1.15
distfiles="http://ftp.gnu.org/gnu/libidn/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--disable-csharp --disable-java"
short_desc="Internationalized Domain Names command line tool"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=db75022eff366bd5646ab1e6d7bcd1c2048473a7dbdf0cd0421de92c88bbdc18
long_desc="
 GNU Libidn is an implementation of the Stringprep, Punycode, and IDNA
 specifications defined by the IETF Internationalized Domain Names (IDN)
 working group. It is used to prepare internationalized strings (such as
 domain name labels, usernames, and passwords) in order to increase the
 likelihood that string input and string comparison work in ways that make
 sense for typical users throughout the world.

 The library contains a generic Stringprep implementation that does Unicode
 3.2 NFKC normalization, mapping and prohibition of characters, and
 bidirectional character handling. Profiles for iSCSI, Kerberos 5, Nameprep,
 SASL, and XMPP are included. Punycode and ASCII Compatible Encoding (ACE) via
 IDNA are supported."

subpackages="devel"

Add_dependency full glibc
Add_dependency build perl
Add_dependency build pkg-config