# Template file for 'spotify-tui'
pkgname=spotify-tui
version=0.20.0
revision=2
build_style=cargo
hostmakedepends="pkg-config python3"
makedepends="libressl-devel python3-devel libxcb-devel"
short_desc="Spotify for the terminal"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="MIT"
homepage="https://github.com/Rigellute/spotify-tui"
distfiles="https://github.com/Rigellute/spotify-tui/archive/v${version}.tar.gz"
checksum=ead7014a383625d133937d20184a0bf015bfb50d9ddde8779fad3841baba426b

pre_build() {
	cargo update --package openssl-sys --precise 0.9.58
}

post_install() {
	mv ${DESTDIR}/usr/bin/spt ${DESTDIR}/usr/bin/spotify-tui
	vlicense LICENSE
}
