# Template file for 'slrn'
pkgname=slrn
version=1.0.3a
wrksrc="${pkgname}-${version%a}"
revision=2
build_style=gnu-configure
configure_args="--with-slrnpull --with-ssl
 --with-slanginc=${XBPS_CROSS_BASE}/usr/include
 --with-slanglib=${XBPS_CROSS_BASE}/usr/lib
 slrn_cv_va_copy=yes slrn_cv___va_copy=yes slrn_cv_va_val_copy=yes"
makedepends="libressl-devel slang-devel"
short_desc="Text mode Usenet news reader"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://www.slrn.org/"
# distfiles="http://jedsoft.org/releases/slrn/${pkgname}-${version}.tar.bz2"
distfiles="https://ftp.icm.edu.pl/packages/slrn/slrn-${version}.tar.bz2"
checksum=3ba8a4d549201640f2b82d53fb1bec1250f908052a7983f0061c983c634c2dac
nocross=yes  # need to host-compile chkslang

post_install() {
	vsconf doc/slrn.rc
}
