require "formula"

class Kakoune < Formula
  homepage "https://github.com/mawww/kakoune"
  head "https://github.com/mawww/kakoune.git"

  depends_on 'boost'
  depends_on 'asciidoc'

  def install
    cd 'src' do
      system "make", "install", "PREFIX=#{prefix}"
    end
  end
end

require "formula"

class Kakoune < Formula
  homepage "https://github.com/mawww/kakoune"
  head "https://github.com/mawww/kakoune.git"

  depends_on 'boost'
  depends_on 'asciidoc' => :build

  def install
    cd 'src' do
      system "make", "install", "PREFIX=#{prefix}"
    end
  end
end

Set asciidoc as a build-time dep in Homebrew
Set asciidoc as a build-time dep in Homebrew