# Template file for 'oksh'
pkgname=oksh
version=7.6
revision=1
build_style=gnu-configure
makedepends="ncurses-devel"
short_desc="Portable OpenBSD ksh, based on the Public Domain Korn Shell"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Public Domain"
homepage="https://github.com/ibara/oksh"
distfiles="https://github.com/ibara/oksh/releases/download/oksh-${version}/oksh-${version}.tar.gz"
checksum=26b45fc3dcaab786db6b87dcd741ac572a7ef539dbb88ea22c43ed8b54405c74
register_shell="/bin/oksh"

alternatives="
 ksh:ksh:/usr/bin/oksh
 ksh:ksh.1:/usr/share/man/man1/oksh.1
 sh:sh:/usr/bin/oksh
 sh:sh.1:/usr/share/man/man1/oksh.1
"
