# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DUNE_PKG_NAME="lastfm"

inherit dune

DESCRIPTION="OCaml interface for Lastfm"
HOMEPAGE="https://github.com/savonet/ocaml-lastfm"
SRC_URI="https://github.com/savonet/${PN}/archive/v${PV}/${P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="+ocamlopt"

RDEPEND="dev-ml/ocamlnet:=[ocamlopt?]
	dev-ml/ocaml-xmlplaylist:=[ocamlopt?]
	dev-ml/pcre-ocaml:=[ocamlopt?]"