# Template file for 'sl'
pkgname=sl
version=5.05
revision=1
build_style=gnu-makefile
makedepends="ncurses-devel"
short_desc="Correct you if you type (sl) by mistake"
maintainer="Orphaned <orphan@voidlinux.org>"
license="custom:0BSD-like"
homepage="https://github.com/eyJhb/sl"
distfiles="https://github.com/eyJhb/sl/archive/refs/tags/${version}.tar.gz"
checksum=6c941b526e3d01be7f91a3af4ae20a89d1e5d66b3b2d804c80123b1b1be96384

pre_build() {
	CFLAGS+=" $LDFLAGS"
}

do_install() {
	vbin sl
	vman sl.1
	vlicense LICENSE
}
