text: # 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 Libassuan(AutotoolsPackage):
      """Libassuan is a small library implementing the so-called Assuan
         protocol."""
  
      homepage = "https://gnupg.org/software/libassuan/index.html"
      url = "https://gnupg.org/ftp/gcrypt/libassuan/libassuan-2.4.5.tar.bz2"
  
      version('2.5.3', sha256='91bcb0403866b4e7c4bc1cc52ed4c364a9b5414b3994f718c70303f7f765e702')
      version('2.4.5', sha256='fbfea5d1dbcdee34f2597b0afb3d8bb4eda96c924a1e01b01c2acde68b81625f')
      version('2.4.3', sha256='22843a3bdb256f59be49842abf24da76700354293a066d82ade8134bb5aa2b71')
  
      depends_on('libgpg-error')
  
      def configure_args(self):
          args = ['--with-libgpp-error=%s' % self.spec['libgpg-error'].prefix]
          return args
  