# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack import *


class Transset(AutotoolsPackage):
    """transset is an utility for setting opacity property."""

    homepage = "http://cgit.freedesktop.org/xorg/app/transset"
    url      = "https://www.x.org/archive/individual/app/transset-1.0.1.tar.gz"

    version('1.0.1', sha256='87c560e69e05ae8a5bad17ff62ac31cda43a5065508205b109c756c0ab857d55')

    depends_on('libx11')

    depends_on('xproto@7.0.17:', type='build')
    depends_on('pkgconfig', type='build')
    depends_on('util-macros', type='build')
