# Template file for 'Clipboard'
pkgname=Clipboard
version=0.5.0
revision=1
build_style=cmake
hostmakedepends="pkg-config wayland-devel"
makedepends="libX11-devel wayland-devel wayland-protocols"
short_desc="Cut, copy, and paste anything, anywhere, all from the terminal"
maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/Slackadays/Clipboard"
changelog="https://github.com/Slackadays/Clipboard/releases"
distfiles="https://github.com/Slackadays/Clipboard/archive/refs/tags/${version}.tar.gz"
checksum=4ef29040b871c8d6238408e61a569b0a41609398e0360ab375b9a32be062de81

if [ "${XBPS_TARGET_NO_ATOMIC8}" ]; then
	makedepends+=" libatomic-devel"
	CXXFLAGS+=" -latomic"
fi
