# Template file for 'tiny'
pkgname=tiny
version=0.13.0
revision=1
build_wrksrc="crates/tiny"
build_style=cargo
configure_args="--no-default-features --features=desktop-notifications --features=tls-native"
hostmakedepends="pkg-config"
makedepends="openssl-devel dbus-devel"
short_desc="Tiny terminal IRC client"
maintainer="eoli3n <jonathan.kirszling@runbox.com>"
license="MIT"
homepage="https://github.com/osa1/tiny"
changelog="https://raw.githubusercontent.com/osa1/tiny/master/CHANGELOG.md"
distfiles="https://github.com/osa1/tiny/archive/refs/tags/v${version}.tar.gz"
checksum=599697fa736d7500b093566a32204691093bd16abd76f43a76b761487a7c584c

pre_build() {
	# fixes an indexmap error when cross compiling
	cargo update --package autocfg:1.1.0 --precise 1.1.0
}

post_install() {
	vlicense ../../LICENSE
}
