# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

DESCRIPTION="Theme for Clearlooks GTK+ engine, optimized for small displays"
HOMEPAGE="http://martin.ankerl.com/2007/11/04/clearlooks-compact-gnome-theme/"
SRC_URI="http://martin.ankerl.com/files/ClearlooksCompact-${PV}.tar.bz2"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="x11-themes/gtk-engines"
DEPEND="${RDEPEND}"

S="${WORKDIR}/Clearlooks Compact"

src_install() {
	insinto "/usr/share/themes/Clearlooks Compact"
	doins -r *
	rm "${D}/usr/share/themes/Clearlooks Compact/COPYING"
	rm "${D}/usr/share/themes/Clearlooks Compact/gtk-2.0/gtkrc~"
}