# Template file for 'elinks'
pkgname=elinks
version=0.19.1
revision=1
build_style=gnu-configure
configure_args="--enable-true-color --enable-fastmem --without-spidermonkey"
hostmakedepends="automake libtool pkg-config gettext"
makedepends="gpm-devel zlib-devel bzip2-devel libidn-devel tre-devel
 ncurses-devel openssl-devel"
short_desc="Full-Featured Text WWW Browser"
maintainer="Saksham <voidisnull@duck.com>"
license="GPL-2.0-only"
homepage="https://github.com/rkd77/elinks"
changelog="https://raw.githubusercontent.com/rkd77/elinks/master/NEWS"
distfiles="https://github.com/rkd77/elinks/archive/v${version}.tar.gz"
checksum=eae70a82b06a11ac8a928ce6eba0aa58b791685092d9394a32d2e85e689ed7c2
# ld: no input files
disable_parallel_build=yes

pre_configure() {
	autoreconf -fi
}

post_install() {
	rm ${DESTDIR}/usr/share/locale/locale.alias
}
