class Vault < FPM::Cookery::Recipe
  name 'vault'
  version '0.10.0'
  source "https://releases.hashicorp.com/#{name}/#{version}/#{name}_#{version}_linux_amd64.zip"
  homepage 'https://www.vaultproject.io'

  def build
    safesystem "strip -s #{name}"
  end

  def install
    bin.install name
  end
end
