# Template file for 'elinks'
pkgname=elinks
version=0.12pre6
revision=11
build_style=gnu-configure
configure_args="--enable-true-color --enable-fastmem"
hostmakedepends="automake libtool pkg-config"
makedepends="gpm-devel zlib-devel bzip2-devel libidn-devel tre-devel ncurses-devel libressl-devel"
short_desc="Full-Featured Text WWW Browser"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://elinks.or.cz"
license="GPL-3"
distfiles="http://elinks.or.cz/download/$pkgname-$version.tar.bz2"
checksum=383646375b8a325bef5a132c8300caab90eb0b842c5f8eff68febc00e29acada

case "$XBPS_TARGET_MACHINE" in
	x86_64-musl) broken="http://build.voidlinux.eu/builders/x86_64-musl_builder/builds/3535/steps/shell_3/logs/stdio";;
esac

pre_configure() {
	autoreconf -fi
}
post_install() {
	rm -f ${DESTDIR}/usr/share/locale/locale.alias
}
