# Template file for 'gitui'
pkgname=gitui
version=0.20.1
revision=1
build_style=cargo
hostmakedepends="pkg-config python3"
makedepends="libxcb-devel libgit2-devel"
short_desc="Blazing fast terminal-ui for git"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="MIT"
homepage="https://github.com/extrawurst/gitui"
changelog="https://github.com/extrawurst/gitui/blob/master/CHANGELOG.md"
distfiles="https://github.com/extrawurst/gitui/archive/refs/tags/v${version}.tar.gz"
checksum=eccec120dfd4c5c33a74d331a53f3d0c6cb7200e26b0c4c7873278eb951bc379

post_patch() {
	cargo update --package autocfg --precise 1.1.0
}

post_install() {
	vlicense LICENSE.md
}
