# Template file for 'dunst'
pkgname=dunst
version=1.10.0
revision=1
build_style=gnu-makefile
make_check_target=test
make_use_env=yes
make_build_args="SYSTEMD=0 WAYLAND=$(vopt_if wayland 1 0) SYSCONFDIR=/etc"
make_install_args="$make_build_args"
hostmakedepends="perl pkg-config"
makedepends="gdk-pixbuf-devel libXScrnSaver-devel libXinerama-devel libXrandr-devel
 libxdg-basedir-devel libnotify-devel $(vopt_if wayland 'wayland-devel wayland-protocols')"
checkdepends="dbus"
conf_files="/etc/dunst/dunstrc"
short_desc="Lightweight and customizable notification daemon"
maintainer="Rodrigo Oliveira <mdkcore@qtrnn.io>"
license="BSD-3-Clause"
homepage="https://dunst-project.org"
changelog="https://raw.githubusercontent.com/dunst-project/dunst/master/CHANGELOG.md"
distfiles="https://github.com/dunst-project/dunst/archive/v${version}.tar.gz"
checksum=d1fbeba329b3801b931ad804f1fadd96a36be5edf2e49c8e30f081443079759f

build_options="wayland"
build_options_default="wayland"

post_install() {
	vlicense LICENSE
}
