# Template file for 'screen'
pkgname=screen
version=4.0.3
revision=9
build_style=gnu-configure
configure_args="--with-sys-screenrc=/etc/screenrc -enable-pam --enable-colors256
 --enable-locale -with-socket-dir=/run/screens --with-pty-group=5"
makedepends="pam-devel ncurses-devel"
conf_files="/etc/screenrc /etc/skel/.screenrc"
short_desc="The GNU screen utility"
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="http://www.gnu.org/s/screen/"
license="GPL-2"
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
checksum=78f0d5b1496084a5902586304d4a73954b2bfe33ea13edceecf21615c39e6c77

post_install() {
	vinstall etc/screenrc 0644 etc
	vinstall etc/etcscreenrc 0644 etc/skel .screenrc
}
