# Template file for 'ncspot'
pkgname=ncspot
version=0.11.2
revision=2
build_style=cargo
configure_args="--features alsa_backend,cover"
hostmakedepends="pkg-config python3"
makedepends="openssl-devel dbus-devel pulseaudio-devel alsa-lib-devel"
depends="ueberzug"
short_desc="Cross-platform ncurses Spotify client"
maintainer="Omar Zeghouani <omarzeghouanii@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/hrkfdn/ncspot"
distfiles="https://github.com/hrkfdn/ncspot/archive/v${version}.tar.gz"
checksum=0fd9696e13912b906605e9972bf3b2a8a68688cce17478353713550801c94fab

post_install() {
	vlicense LICENSE
	vinstall misc/ncspot.desktop 644 usr/share/applications
	vinstall images/logo.svg 644 usr/share/icons/hicolor/scalable/apps ncspot.svg
}
