# Contributor:
# Maintainer:
pkgname=tcsh
pkgver=6.20.00
pkgrel=0
pkgdesc="extended C-shell"
url="http://www.tcsh.org"
arch="all"
license="BSD"
depends=""
makedepends="ncurses-dev"
install=""
subpackages="$pkgname-doc"
source="ftp://ftp.astron.com/pub/tcsh/${pkgname}-${pkgver}.tar.gz"
builddir="$srcdir/tcsh-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--bindir=/bin \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--disable-nls
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	rm -rf "$pkgdir"/usr/share/locale
}

md5sums="59d40ef40a68e790d95e182069431834  tcsh-6.20.00.tar.gz"
sha256sums="b89de7064ab54dac454a266cfe5d8bf66940cb5ed048d0c30674ea62e7ecef9d  tcsh-6.20.00.tar.gz"
sha512sums="c5635393c22341e62fb9a0b953ddf8871a876ab09deb08c98237f93afa9257b4a3381d1db65eefe769e22ef845db29ab7bc78773f1f609d73c8205689a6683e9  tcsh-6.20.00.tar.gz"
