The board of commissioners shall have the authority to employ a competent attorney-at-law as county attorney, and whenever it is deemed necessary, the board may employ additional counsel to assist the county attorney, to advise the board and represent the county in such matters as the board may direct, which county attorney shall serve at the pleasure of the board and shall be compensated from county funds as approved by the board.