# 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 Presentproto(AutotoolsPackage):
    """Present protocol specification and Xlib/Xserver headers."""

    homepage = "https://cgit.freedesktop.org/xorg/proto/presentproto/"
    url      = "https://www.x.org/archive/individual/proto/presentproto-1.0.tar.gz"

    version('1.0', sha256='02f8042cb351dd5c3699a0dbdb2ab25f86532efe3e1e3e97897e7f44b5c67040')

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