# Template file for 'screen'
pkgname=screen
version=4.2.1
revision=1
build_style=gnu-configure
configure_args="--with-sys-screenrc=/etc/screenrc --enable-pam
 --enable-colors256 --enable-rxvt_osc --enable-telnet
 --enable-use-locale --with-socket-dir=/run/screens --with-pty-group=5"
makedepends="pam-devel ncurses-devel"
conf_files="/etc/screenrc /etc/skel/.screenrc"
short_desc="GNU screen manager with VT100/ANSI terminal emulation"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/s/screen/"
license="GPL-3"
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
checksum=5468545047e301d2b3579f9d9ce00466d14a7eec95ce806e3834a3d6b0b9b080

post_install() {
	vinstall etc/etcscreenrc 0644 etc screenrc
	vinstall etc/screenrc 0644 etc/skel .screenrc
	vinstall ${FILESDIR}/screen 0644 etc/pam.d
}
