# Template file for 'got'
pkgname=got
version=0.103
revision=4
build_style=gnu-configure
hostmakedepends="byacc pkg-config"
makedepends="libmd-devel zlib-devel libuuid-devel libbsd-devel ncurses-devel openssl-devel libevent-devel libtls-devel"
short_desc="VCS which prioritizes ease of use and simplicity over flexibility"
maintainer="Omar Polo <op@omarpolo.com>"
license="ISC"
homepage="https://gameoftrees.org"
changelog="https://gameoftrees.org/releases/CHANGES"
distfiles="https://gameoftrees.org/releases/portable/got-portable-${version}.tar.gz"
checksum=32405e93f353a54fabca5492e5a6c5425f159b7a614450909299c8dc83492878

post_install() {
	sed -n '/Copyright/,/PERFORMANCE/p' got/got.c > LICENSE
	vlicense LICENSE
}
