# Template file for 'tcsh'
pkgname=tcsh
version=6.18.01
revision=1
build_style=gnu-configure
register_shell="/bin/tcsh /bin/csh"
conf_files="/etc/csh.login /etc/csh.cshrc"
makedepends="ncurses-devel"
short_desc="Enhanced but compatible version of the Berkeley C shell"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
homepage="http://www.tcsh.org/"
distfiles="ftp://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=d81ca27851f3e8545666399b4bcf25433e602a195113b3f7c73886fef84c9fa8

post_install() {
	vconf ${FILESDIR}/csh.login
	vconf ${FILESDIR}/csh.cshrc
	ln -s tcsh ${DESTDIR}/usr/bin/csh
	ln -s tcsh.1 ${DESTDIR}/usr/share/man/man1/csh.1
	vlicense Copyright LICENSE
}