# 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 Xprehashprinterlist(AutotoolsPackage):
    """Rehash list of Xprint printers."""

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

    version('1.0.1', sha256='396986da064b584138cfcff79a8aed12590a9dab24f1cd2d80b08bc1cb896a43')

    depends_on('libxp')
    depends_on('libx11')

    depends_on('pkgconfig', type='build')
    depends_on('util-macros', type='build')
