attorney for said county, whose term of office may be fixed by the board of commissioners, and the board of commissioners shall pay for such legal services such compensation as the board in its discretion may deem reasonable.