No action for the specific performance of a contract for the sale or exchange of real estate in the state of Kansas or for damages by reason of the violation of any contract to sell or exchange lands within the state of Kansas, occupied as a homestead by the owner and his or her family, shall be maintained unless the contract of sale is signed by both the husband and wife, or by an agent or broker duly authorized in writing by both the husband and wife to make such sale or exchange.
K.S.A. 60-2303