# Description: Enhanced version of the Berkeley C shell (csh)
# URL: https://www.tcsh.org
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: ncurses

name=tcsh
version=6.24.16
release=1
source=(https://astron.com/pub/$name/$name-$version.tar.gz \
    csh.login csh.logout csh.cshrc)

build() {
    cd $name-$version

    ./configure \
        --prefix=/usr \
        --bindir=/bin \
        --disable-nls-catalogs
    make
    make DESTDIR=$PKG install

    install -d $PKG/etc
    install -m 644 $SRC/csh.* $PKG/etc
}
