PKGNAME=libidn
PKGSEC=libs
PKGDEP="glibc"
# Note: gtk-doc needed for re-configuration. Documentation generation
# disabled explicitly below.
BUILDDEP="gtk-doc"
PKGDES="Library to implement the Stringprep, Punycode, and IDNA specifications"

ABTYPE=autotools
AUTOTOOLS_AFTER=(
    '--disable-java'
    '--disable-csharp'
    # Note: Per the Styling Manual.
    '--disable-gtk-doc'
    '--disable-gtk-doc-html'
    '--disable-gtk-doc-pdf'
)

PKGBREAK="elinks<=0.12pre6 filezilla<=3.31.0 gloox<=1.0.20 gsasl<=1.8.0-3 \
          libpurple<=2.12.0 loudmouth<=1.4.3-3 monotone<=1.1 mutt<=1.10.0 \
          neomutt<=20180622 podofo<=0.9.5 swift-im<=3.0-1 tdelibs<=14.0.4-4 \
          vlc<=3.0.3-2 ghostscript<=9.23-1 gmime-3<=3.0.3"

# Needed by Afterglow, whereas FAIL_ARCH defaults to mainline-only.
FAIL_ARCH="!(mainline|retro)"
