# Template file for 'felix'
pkgname=felix
version=2.16.1
revision=1
build_style=cargo
hostmakedepends="pkg-config"
makedepends="bzip2-devel libzstd-devel libgit2-1.8-devel"
short_desc="TUI file manager with vim-like key mapping"
maintainer="Emil Miler <em@0x45.cz>"
license="MIT"
homepage="https://kyoheiu.dev/felix/"
changelog="https://raw.githubusercontent.com/kyoheiu/felix/refs/heads/develop/CHANGELOG.md"
distfiles="https://github.com/kyoheiu/felix/archive/refs/tags/v${version}.tar.gz"
checksum=a001dfe81cdbdfa19ba653a4711a17e4c92aa528139739c895df5791a26ea9f5

post_install() {
	# Binary name conflict with fx
	mv "$DESTDIR/usr/bin/"{fx,felix}
	vlicense LICENSE
}
