# Template file for 'cheat'
pkgname=cheat
version=3.5.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=12621c762c8bc8edae27ba544dda5b721bffd0eafa4837f352593704ae7d23e2

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