# Contributor: Andrew Hills <ahills@ednos.net>
# Maintainer: Andrew Hills <ahills@ednos.net>
pkgname=sl
pkgver=5.02
pkgrel=1
pkgdesc="Cure your bad habit of mistyping"
url="https://github.com/mtoyoda/sl"
arch="all"
license="MIT"
makedepends="ncurses-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/mtoyoda/sl/archive/$pkgver.tar.gz"
options="!check"

build() {
	make
}

package() {
	install -Dm 755 sl "$pkgdir"/usr/bin/sl
	install -Dm 644 sl.1 "$pkgdir"/usr/share/man/man1/sl.1
}

sha512sums="
a4d18bc79d7e0eca7748b10226a6b2a85a7a01d636e4e9215bf524a7849bc5cb250034326e5a69f7423d79e40b92182fddc0e56e25df616edae06369c782cb26  sl-5.02.tar.gz
"
