All persons are capable of contracting, except minors, persons of unsound mind, and persons deprived of civil rights.
(Enacted 1872.)