# Template file for 'cheat'
pkgname=cheat
version=3.4.1
revision=1
build_style=go
go_import_path="github.com/cheat/cheat/cmd/cheat"
short_desc="Create and view interactive cheatsheets on the command-line"
maintainer="bra1nwave <bra1nwave@protonmail.com>"
license="MIT"
homepage="https://github.com/cheat/cheat"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=d47d85fdab14ef14db806940a91a2d0cbd58b5574b53c3efebdc183b372a50ac

post_install() {
	vinstall scripts/cheat-autocompletion.bash 644 \
		usr/share/bash-completion/completions cheat
	vinstall scripts/cheat-autocompletion.fish 644 \
		usr/share/fish/completions
	vlicense LICENSE.txt
}
