# 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 Xmh(AutotoolsPackage):
    """The xmh program provides a graphical user interface to the
    MH Message Handling System.  To actually do things with your
    mail, it makes calls to the MH package."""

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

    version('1.0.3', sha256='f90baf2615a4e1e01232c50cfd36ee4d50ad2fb2f76b8b5831fb796661f194d2')

    depends_on('libxaw')
    depends_on('libxmu')
    depends_on('libxt')
    depends_on('libx11')

    depends_on('xbitmaps@1.1.0:', type='build')
    depends_on('pkgconfig', type='build')
    depends_on('util-macros', type='build')
